package com.simplegovern.setting.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.simplegovern.setting.SettingGroup;
import com.simplegovern.setting.dao.SettingGroupDAO;

public class SettingGroupService {
	@Autowired
	private SettingGroupDAO settingGroupDAO;
	
	public List<SettingGroup> getSettingGroupList(){
		return settingGroupDAO.getSettingGroupList();
	}
	
	public SettingGroup getSettingGroupByID(Long id){
		return settingGroupDAO.findById(id);
	}

}
